Optimal. Leaf size=560 \[ -\frac {b^3 (c+d x)^2 \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{2 g^3 i^2 (a+b x)^2 (b c-a d)^4}-\frac {b^3 B n (c+d x)^2 \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )}{2 g^3 i^2 (a+b x)^2 (b c-a d)^4}+\frac {3 b^2 d (c+d x) \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{g^3 i^2 (a+b x) (b c-a d)^4}+\frac {6 b^2 B d n (c+d x) \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )}{g^3 i^2 (a+b x) (b c-a d)^4}-\frac {d^3 (a+b x) \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^2}{g^3 i^2 (c+d x) (b c-a d)^4}+\frac {2 A B d^3 n (a+b x)}{g^3 i^2 (c+d x) (b c-a d)^4}+\frac {b d^2 \left (B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+A\right )^3}{B g^3 i^2 n (b c-a d)^4}-\frac {b^3 B^2 n^2 (c+d x)^2}{4 g^3 i^2 (a+b x)^2 (b c-a d)^4}+\frac {6 b^2 B^2 d n^2 (c+d x)}{g^3 i^2 (a+b x) (b c-a d)^4}+\frac {2 B^2 d^3 n (a+b x) \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{g^3 i^2 (c+d x) (b c-a d)^4}-\frac {2 B^2 d^3 n^2 (a+b x)}{g^3 i^2 (c+d x) (b c-a d)^4} \]
[Out]
________________________________________________________________________________________
Rubi [C] time = 8.15, antiderivative size = 2207, normalized size of antiderivative = 3.94, number of steps used = 135, number of rules used = 31, integrand size = 45, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.689, Rules used = {2528, 2525, 12, 44, 2524, 2418, 2390, 2301, 2394, 2393, 2391, 6688, 6742, 2411, 2344, 2317, 2507, 2488, 2506, 6610, 2500, 2433, 2375, 2374, 6589, 2440, 2434, 2499, 2396, 2302, 30} \[ \text {result too large to display} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 30
Rule 44
Rule 2301
Rule 2302
Rule 2317
Rule 2344
Rule 2374
Rule 2375
Rule 2390
Rule 2391
Rule 2393
Rule 2394
Rule 2396
Rule 2411
Rule 2418
Rule 2433
Rule 2434
Rule 2440
Rule 2488
Rule 2499
Rule 2500
Rule 2506
Rule 2507
Rule 2524
Rule 2525
Rule 2528
Rule 6589
Rule 6610
Rule 6688
Rule 6742
Rubi steps
\begin {align*} \int \frac {\left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{(200 c+200 d x)^2 (a g+b g x)^3} \, dx &=\int \left (\frac {b^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^2 g^3 (a+b x)^3}-\frac {b^2 d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)^2}+\frac {3 b^2 d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3 (a+b x)}-\frac {d^3 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)^2}-\frac {3 b d^3 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3 (c+d x)}\right ) \, dx\\ &=\frac {\left (3 b^2 d^2\right ) \int \frac {\left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{a+b x} \, dx}{40000 (b c-a d)^4 g^3}-\frac {\left (3 b d^3\right ) \int \frac {\left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{c+d x} \, dx}{40000 (b c-a d)^4 g^3}-\frac {\left (b^2 d\right ) \int \frac {\left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{(a+b x)^2} \, dx}{20000 (b c-a d)^3 g^3}-\frac {d^3 \int \frac {\left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{(c+d x)^2} \, dx}{40000 (b c-a d)^3 g^3}+\frac {b^2 \int \frac {\left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{(a+b x)^3} \, dx}{40000 (b c-a d)^2 g^3}\\ &=-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {\left (3 b B d^2 n\right ) \int \frac {(c+d x) \left (-\frac {d (a+b x)}{(c+d x)^2}+\frac {b}{c+d x}\right ) \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b B d^2 n\right ) \int \frac {(c+d x) \left (-\frac {d (a+b x)}{(c+d x)^2}+\frac {b}{c+d x}\right ) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {(b B d n) \int \frac {(b c-a d) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x)^2 (c+d x)} \, dx}{10000 (b c-a d)^3 g^3}-\frac {\left (B d^2 n\right ) \int \frac {(b c-a d) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) (c+d x)^2} \, dx}{20000 (b c-a d)^3 g^3}+\frac {(b B n) \int \frac {(b c-a d) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x)^3 (c+d x)} \, dx}{40000 (b c-a d)^2 g^3}\\ &=-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {\left (3 b B d^2 n\right ) \int \frac {(b c-a d) \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) (c+d x)} \, dx}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b B d^2 n\right ) \int \frac {(b c-a d) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{(a+b x) (c+d x)} \, dx}{20000 (b c-a d)^4 g^3}-\frac {(b B d n) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x)^2 (c+d x)} \, dx}{10000 (b c-a d)^2 g^3}-\frac {\left (B d^2 n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x) (c+d x)^2} \, dx}{20000 (b c-a d)^2 g^3}+\frac {(b B n) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x)^3 (c+d x)} \, dx}{40000 (b c-a d) g^3}\\ &=-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {\left (3 b B d^2 n\right ) \int \frac {\log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(a+b x) (c+d x)} \, dx}{20000 (b c-a d)^3 g^3}+\frac {\left (3 b B d^2 n\right ) \int \frac {\left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{(a+b x) (c+d x)} \, dx}{20000 (b c-a d)^3 g^3}-\frac {(b B d n) \int \left (\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d) (a+b x)^2}-\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d)^2 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d)^2 (c+d x)}\right ) \, dx}{10000 (b c-a d)^2 g^3}-\frac {\left (B d^2 n\right ) \int \left (\frac {b^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d)^2 (a+b x)}-\frac {d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d) (c+d x)^2}-\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d)^2 (c+d x)}\right ) \, dx}{20000 (b c-a d)^2 g^3}+\frac {(b B n) \int \left (\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d) (a+b x)^3}-\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d)^2 (a+b x)^2}+\frac {b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d)^3 (a+b x)}-\frac {d^3 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d)^3 (c+d x)}\right ) \, dx}{40000 (b c-a d) g^3}\\ &=-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}+\frac {\left (b^2 B d^2 n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{a+b x} \, dx}{40000 (b c-a d)^4 g^3}-\frac {\left (b^2 B d^2 n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}+\frac {\left (b^2 B d^2 n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{a+b x} \, dx}{10000 (b c-a d)^4 g^3}-\frac {\left (b B d^3 n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{c+d x} \, dx}{40000 (b c-a d)^4 g^3}+\frac {\left (b B d^3 n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{c+d x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (b B d^3 n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{c+d x} \, dx}{10000 (b c-a d)^4 g^3}-\frac {\left (b^2 B d n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x)^2} \, dx}{40000 (b c-a d)^3 g^3}-\frac {\left (b^2 B d n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x)^2} \, dx}{10000 (b c-a d)^3 g^3}-\frac {\left (3 b B d^2 n\right ) \int \left (\frac {A \log (a+b x)}{(a+b x) (c+d x)}+\frac {B \log (a+b x) \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x) (c+d x)}\right ) \, dx}{20000 (b c-a d)^3 g^3}+\frac {\left (3 b B d^2 n\right ) \int \left (\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{(b c-a d) (a+b x)}-\frac {d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{(b c-a d) (c+d x)}\right ) \, dx}{20000 (b c-a d)^3 g^3}+\frac {\left (B d^3 n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(c+d x)^2} \, dx}{20000 (b c-a d)^3 g^3}+\frac {\left (b^2 B n\right ) \int \frac {A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x)^3} \, dx}{40000 (b c-a d)^2 g^3}\\ &=-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}+\frac {\left (3 b^2 B d^2 n\right ) \int \frac {\left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B d^3 n\right ) \int \frac {\left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{c+d x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (3 A b B d^2 n\right ) \int \frac {\log (a+b x)}{(a+b x) (c+d x)} \, dx}{20000 (b c-a d)^3 g^3}-\frac {\left (3 b B^2 d^2 n\right ) \int \frac {\log (a+b x) \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x) (c+d x)} \, dx}{20000 (b c-a d)^3 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \int \frac {(c+d x) \left (-\frac {d (a+b x)}{(c+d x)^2}+\frac {b}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{40000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^2 n^2\right ) \int \frac {(c+d x) \left (-\frac {d (a+b x)}{(c+d x)^2}+\frac {b}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{40000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^2 n^2\right ) \int \frac {(c+d x) \left (-\frac {d (a+b x)}{(c+d x)^2}+\frac {b}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \int \frac {(c+d x) \left (-\frac {d (a+b x)}{(c+d x)^2}+\frac {b}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \int \frac {(c+d x) \left (-\frac {d (a+b x)}{(c+d x)^2}+\frac {b}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{10000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^2 n^2\right ) \int \frac {(c+d x) \left (-\frac {d (a+b x)}{(c+d x)^2}+\frac {b}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{10000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d n^2\right ) \int \frac {b c-a d}{(a+b x)^2 (c+d x)} \, dx}{40000 (b c-a d)^3 g^3}-\frac {\left (b B^2 d n^2\right ) \int \frac {b c-a d}{(a+b x)^2 (c+d x)} \, dx}{10000 (b c-a d)^3 g^3}+\frac {\left (B^2 d^2 n^2\right ) \int \frac {b c-a d}{(a+b x) (c+d x)^2} \, dx}{20000 (b c-a d)^3 g^3}+\frac {\left (b B^2 n^2\right ) \int \frac {b c-a d}{(a+b x)^3 (c+d x)} \, dx}{80000 (b c-a d)^2 g^3}\\ &=-\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}+\frac {\left (3 b^2 B^2 d^2\right ) \int \frac {\log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{a+b x} \, dx}{40000 (b c-a d)^4 g^3}+\frac {\left (3 b^2 B d^2 n\right ) \int \left (\frac {A \log (c+d x)}{a+b x}+\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log (c+d x)}{a+b x}\right ) \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B d^3 n\right ) \int \left (\frac {A \log (c+d x)}{c+d x}+\frac {B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log (c+d x)}{c+d x}\right ) \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (3 A B d^2 n\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x \left (\frac {b c-a d}{b}+\frac {d x}{b}\right )} \, dx,x,a+b x\right )}{20000 (b c-a d)^3 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \int \left (\frac {b \log (a+b x)}{a+b x}-\frac {d \log (a+b x)}{c+d x}\right ) \, dx}{40000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^2 n^2\right ) \int \left (\frac {b \log (c+d x)}{a+b x}-\frac {d \log (c+d x)}{c+d x}\right ) \, dx}{40000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^2 n^2\right ) \int \left (\frac {b \log (a+b x)}{a+b x}-\frac {d \log (a+b x)}{c+d x}\right ) \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \int \left (\frac {b \log (c+d x)}{a+b x}-\frac {d \log (c+d x)}{c+d x}\right ) \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \int \left (\frac {b \log (a+b x)}{a+b x}-\frac {d \log (a+b x)}{c+d x}\right ) \, dx}{10000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^2 n^2\right ) \int \left (\frac {b \log (c+d x)}{a+b x}-\frac {d \log (c+d x)}{c+d x}\right ) \, dx}{10000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d n^2\right ) \int \frac {1}{(a+b x)^2 (c+d x)} \, dx}{40000 (b c-a d)^2 g^3}-\frac {\left (b B^2 d n^2\right ) \int \frac {1}{(a+b x)^2 (c+d x)} \, dx}{10000 (b c-a d)^2 g^3}+\frac {\left (B^2 d^2 n^2\right ) \int \frac {1}{(a+b x) (c+d x)^2} \, dx}{20000 (b c-a d)^2 g^3}+\frac {\left (b B^2 n^2\right ) \int \frac {1}{(a+b x)^3 (c+d x)} \, dx}{80000 (b c-a d) g^3}\\ &=-\frac {3 b B^2 d^2 \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {\left (3 A b B d^2 n\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}+\frac {\left (3 A b^2 B d^2 n\right ) \int \frac {\log (c+d x)}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b^2 B^2 d^2 n\right ) \int \frac {\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log (c+d x)}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}+\frac {\left (3 A B d^3 n\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{\frac {b c-a d}{b}+\frac {d x}{b}} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 A b B d^3 n\right ) \int \frac {\log (c+d x)}{c+d x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^3 n\right ) \int \frac {\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log (c+d x)}{c+d x} \, dx}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b B^2 d^2 n\right ) \int \frac {\log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{(a+b x) (c+d x)} \, dx}{20000 (b c-a d)^3 g^3}-\frac {\left (b^2 B^2 d^2 n^2\right ) \int \frac {\log (a+b x)}{a+b x} \, dx}{40000 (b c-a d)^4 g^3}+\frac {\left (b^2 B^2 d^2 n^2\right ) \int \frac {\log (c+d x)}{a+b x} \, dx}{40000 (b c-a d)^4 g^3}+\frac {\left (b^2 B^2 d^2 n^2\right ) \int \frac {\log (a+b x)}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (b^2 B^2 d^2 n^2\right ) \int \frac {\log (c+d x)}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (b^2 B^2 d^2 n^2\right ) \int \frac {\log (a+b x)}{a+b x} \, dx}{10000 (b c-a d)^4 g^3}+\frac {\left (b^2 B^2 d^2 n^2\right ) \int \frac {\log (c+d x)}{a+b x} \, dx}{10000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^3 n^2\right ) \int \frac {\log (a+b x)}{c+d x} \, dx}{40000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^3 n^2\right ) \int \frac {\log (c+d x)}{c+d x} \, dx}{40000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^3 n^2\right ) \int \frac {\log (a+b x)}{c+d x} \, dx}{20000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^3 n^2\right ) \int \frac {\log (c+d x)}{c+d x} \, dx}{20000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^3 n^2\right ) \int \frac {\log (a+b x)}{c+d x} \, dx}{10000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^3 n^2\right ) \int \frac {\log (c+d x)}{c+d x} \, dx}{10000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d n^2\right ) \int \left (\frac {b}{(b c-a d) (a+b x)^2}-\frac {b d}{(b c-a d)^2 (a+b x)}+\frac {d^2}{(b c-a d)^2 (c+d x)}\right ) \, dx}{40000 (b c-a d)^2 g^3}-\frac {\left (b B^2 d n^2\right ) \int \left (\frac {b}{(b c-a d) (a+b x)^2}-\frac {b d}{(b c-a d)^2 (a+b x)}+\frac {d^2}{(b c-a d)^2 (c+d x)}\right ) \, dx}{10000 (b c-a d)^2 g^3}+\frac {\left (B^2 d^2 n^2\right ) \int \left (\frac {b^2}{(b c-a d)^2 (a+b x)}-\frac {d}{(b c-a d) (c+d x)^2}-\frac {b d}{(b c-a d)^2 (c+d x)}\right ) \, dx}{20000 (b c-a d)^2 g^3}+\frac {\left (b B^2 n^2\right ) \int \left (\frac {b}{(b c-a d) (a+b x)^3}-\frac {b d}{(b c-a d)^2 (a+b x)^2}+\frac {b d^2}{(b c-a d)^3 (a+b x)}-\frac {d^3}{(b c-a d)^3 (c+d x)}\right ) \, dx}{80000 (b c-a d) g^3}\\ &=-\frac {b B^2 n^2}{160000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {11 b B^2 d n^2}{80000 (b c-a d)^3 g^3 (a+b x)}+\frac {B^2 d^2 n^2}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B^2 d^2 n^2 \log (a+b x)}{16000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(a+b x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log (c+d x)}{16000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 A b B d^2 n\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 A b B d^2 n\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b^2 B^2 d^2 n\right ) \int \frac {\log \left ((a+b x)^n\right ) \log (c+d x)}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b^2 B^2 d^2 n\right ) \int \frac {\log (c+d x) \log \left ((c+d x)^{-n}\right )}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (3 A b B d^3 n\right ) \int \frac {\log \left (\frac {d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,a+b x\right )}{40000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,c+d x\right )}{40000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,a+b x\right )}{10000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,c+d x\right )}{10000 (b c-a d)^4 g^3}-\frac {\left (b^2 B^2 d^2 n^2\right ) \int \frac {\log \left (\frac {b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{40000 (b c-a d)^4 g^3}+\frac {\left (b^2 B^2 d^2 n^2\right ) \int \frac {\log \left (\frac {b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b^2 B^2 d^2 n^2\right ) \int \frac {\log ^2(c+d x)}{a+b x} \, dx}{40000 (b c-a d)^4 g^3}-\frac {\left (b^2 B^2 d^2 n^2\right ) \int \frac {\log \left (\frac {b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{10000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^3 n^2\right ) \int \frac {\log \left (\frac {d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{40000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^3 n^2\right ) \int \frac {\log \left (\frac {d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^3 n^2\right ) \int \frac {\log ^2(c+d x)}{c+d x} \, dx}{40000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^3 n^2\right ) \int \frac {\log \left (\frac {d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{10000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^2 n^2\right ) \int \frac {\text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{(a+b x) (c+d x)} \, dx}{20000 (b c-a d)^3 g^3}+\frac {\left (3 b^2 B^2 d^2 n \left (-\log \left ((a+b x)^n\right )+\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )-\log \left ((c+d x)^{-n}\right )\right )\right ) \int \frac {\log (c+d x)}{a+b x} \, dx}{20000 (b c-a d)^4 g^3}\\ &=-\frac {b B^2 n^2}{160000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {11 b B^2 d n^2}{80000 (b c-a d)^3 g^3 (a+b x)}+\frac {B^2 d^2 n^2}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B^2 d^2 n^2 \log (a+b x)}{16000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(a+b x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(a+b x)}{80000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log (c+d x)}{16000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(c+d x)}{80000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x) \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 A b B d^2 n\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b B^2 d^2 n\right ) \operatorname {Subst}\left (\int \frac {\log \left (x^n\right ) \log \left (\frac {b c-a d}{b}+\frac {d x}{b}\right )}{x} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b B^2 d^2 n\right ) \operatorname {Subst}\left (\int \frac {\log \left (-\frac {-b c+a d}{b}+\frac {d x}{b}\right ) \log \left (\left (-\frac {-b c+a d}{b}+\frac {d x}{b}\right )^{-n}\right )}{x} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{40000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{40000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}+\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log ^2(x)}{x} \, dx,x,c+d x\right )}{40000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{10000 (b c-a d)^4 g^3}-\frac {\left (b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{10000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^3 n^2\right ) \int \frac {\log \left (\frac {d (a+b x)}{-b c+a d}\right ) \log (c+d x)}{c+d x} \, dx}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^3 n \left (-\log \left ((a+b x)^n\right )+\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )-\log \left ((c+d x)^{-n}\right )\right )\right ) \int \frac {\log \left (\frac {d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{20000 (b c-a d)^4 g^3}\\ &=-\frac {b B^2 n^2}{160000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {11 b B^2 d n^2}{80000 (b c-a d)^3 g^3 (a+b x)}+\frac {B^2 d^2 n^2}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B^2 d^2 n^2 \log (a+b x)}{16000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(a+b x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(a+b x)}{80000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log (c+d x)}{16000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(c+d x)}{80000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log (a+b x) \log (c+d x) \log \left ((c+d x)^{-n}\right )}{20000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x) \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 B^2 d^3\right ) \operatorname {Subst}\left (\int \frac {\log ^2\left (x^n\right )}{\frac {b c-a d}{b}+\frac {d x}{b}} \, dx,x,a+b x\right )}{40000 (b c-a d)^4 g^3}-\frac {\left (3 B^2 d^3 n\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (\left (-\frac {-b c+a d}{b}+\frac {d x}{b}\right )^{-n}\right )}{-\frac {-b c+a d}{b}+\frac {d x}{b}} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int x^2 \, dx,x,\log (c+d x)\right )}{40000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (\frac {d \left (\frac {-b c+a d}{d}+\frac {b x}{d}\right )}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}+\frac {\left (3 B^2 d^3 n^2\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (-\frac {-b c+a d}{b}+\frac {d x}{b}\right )}{-\frac {-b c+a d}{b}+\frac {d x}{b}} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^2 n \left (-\log \left ((a+b x)^n\right )+\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )-\log \left ((c+d x)^{-n}\right )\right )\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}\\ &=-\frac {b B^2 n^2}{160000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {11 b B^2 d n^2}{80000 (b c-a d)^3 g^3 (a+b x)}+\frac {B^2 d^2 n^2}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B^2 d^2 n^2 \log (a+b x)}{16000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(a+b x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(a+b x)}{80000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log (c+d x)}{16000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(c+d x)}{80000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {b B^2 d^2 n^2 \log ^3(c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log (a+b x) \log (c+d x) \log \left ((c+d x)^{-n}\right )}{20000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x) \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (c+d x) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^2 n\right ) \operatorname {Subst}\left (\int \frac {\log \left (x^{-n}\right ) \log \left (\frac {-b c+a d}{d}+\frac {b x}{d}\right )}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b B^2 d^2 n\right ) \operatorname {Subst}\left (\int \frac {\log \left (x^n\right ) \log \left (1+\frac {d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (\frac {-b c+a d}{d}+\frac {b x}{d}\right )}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2\left (-\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}\\ &=-\frac {b B^2 n^2}{160000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {11 b B^2 d n^2}{80000 (b c-a d)^3 g^3 (a+b x)}+\frac {B^2 d^2 n^2}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B^2 d^2 n^2 \log (a+b x)}{16000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(a+b x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(a+b x)}{80000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log (c+d x)}{16000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(c+d x)}{80000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {b B^2 d^2 n^2 \log ^3(c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log (a+b x) \log (c+d x) \log \left ((c+d x)^{-n}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left ((c+d x)^{-n}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x) \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left ((a+b x)^n\right ) \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (c+d x) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b^2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log ^2\left (x^{-n}\right )}{\frac {-b c+a d}{d}+\frac {b x}{d}} \, dx,x,c+d x\right )}{40000 (b c-a d)^4 g^3}-\frac {\left (3 b^2 B^2 d n^2\right ) \operatorname {Subst}\left (\int \frac {\log ^2(x)}{\frac {-b c+a d}{d}+\frac {b x}{d}} \, dx,x,c+d x\right )}{40000 (b c-a d)^4 g^3}+\frac {\left (3 b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2\left (-\frac {d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{20000 (b c-a d)^4 g^3}\\ &=-\frac {b B^2 n^2}{160000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {11 b B^2 d n^2}{80000 (b c-a d)^3 g^3 (a+b x)}+\frac {B^2 d^2 n^2}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B^2 d^2 n^2 \log (a+b x)}{16000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(a+b x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(a+b x)}{80000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log (c+d x)}{16000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(c+d x)}{80000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {b B^2 d^2 n^2 \log ^3(c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log (a+b x) \log (c+d x) \log \left ((c+d x)^{-n}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left ((c+d x)^{-n}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2\left ((c+d x)^{-n}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x) \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left ((a+b x)^n\right ) \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (c+d x) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}-\frac {\left (3 b B^2 d^2 n\right ) \operatorname {Subst}\left (\int \frac {\log \left (x^{-n}\right ) \log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}+\frac {\left (3 b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}\\ &=-\frac {b B^2 n^2}{160000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {11 b B^2 d n^2}{80000 (b c-a d)^3 g^3 (a+b x)}+\frac {B^2 d^2 n^2}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B^2 d^2 n^2 \log (a+b x)}{16000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(a+b x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(a+b x)}{80000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log (c+d x)}{16000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(c+d x)}{80000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {b B^2 d^2 n^2 \log ^3(c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log (a+b x) \log (c+d x) \log \left ((c+d x)^{-n}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left ((c+d x)^{-n}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2\left ((c+d x)^{-n}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x) \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left ((a+b x)^n\right ) \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log \left ((c+d x)^{-n}\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}+2 \frac {\left (3 b B^2 d^2 n^2\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2\left (-\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{20000 (b c-a d)^4 g^3}\\ &=-\frac {b B^2 n^2}{160000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {11 b B^2 d n^2}{80000 (b c-a d)^3 g^3 (a+b x)}+\frac {B^2 d^2 n^2}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B^2 d^2 n^2 \log (a+b x)}{16000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(a+b x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(a+b x)}{80000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{40000 (b c-a d)^4 g^3}-\frac {b B n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b B d n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{8000 (b c-a d)^3 g^3 (a+b x)}-\frac {B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{20000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b B d^2 n \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{40000 (b c-a d)^4 g^3}-\frac {b \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{80000 (b c-a d)^2 g^3 (a+b x)^2}+\frac {b d \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{20000 (b c-a d)^3 g^3 (a+b x)}+\frac {d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^3 g^3 (c+d x)}+\frac {3 b d^2 \log (a+b x) \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log (c+d x)}{16000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B d^2 n \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right ) \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b d^2 \left (A+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )^2 \log (c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 A b B d^2 n \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n^2 \log ^2(c+d x)}{80000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \log ^2(c+d x)}{40000 (b c-a d)^4 g^3}-\frac {b B^2 d^2 n^2 \log ^3(c+d x)}{40000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log ^2\left ((a+b x)^n\right ) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log (a+b x) \log (c+d x) \log \left ((c+d x)^{-n}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 \log (a+b x) \log ^2\left ((c+d x)^{-n}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2\left ((c+d x)^{-n}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x) \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \log \left ((a+b x)^n\right ) \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 A b B d^2 n \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{40000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log \left ((c+d x)^{-n}\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}-\frac {3 b B^2 d^2 n \left (\log \left ((a+b x)^n\right )-\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+\log \left ((c+d x)^{-n}\right )\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (-\frac {d (a+b x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (\frac {b (c+d x)}{b c-a d}\right )}{20000 (b c-a d)^4 g^3}+\frac {3 b B^2 d^2 n^2 \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{20000 (b c-a d)^4 g^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 1.99, size = 1340, normalized size = 2.39 \[ \frac {4 b B^2 d^2 n^2 (a+b x)^2 (c+d x) \log ^3\left (\frac {a+b x}{c+d x}\right )+2 B n \left (6 A d^3 x^3 b^3+3 B d^3 n x^3 b^3+6 A c d^2 x^2 b^3+9 B c d^2 n x^2 b^3-B c^3 n b^3+3 B c^2 d n x b^3+12 a A d^3 x^2 b^2+6 a B c^2 d n b^2+12 a A c d^2 x b^2+12 a B c d^2 n x b^2+6 a^2 A c d^2 b+6 a^2 A d^3 x b-6 a^2 B d^3 n x b+6 B d^2 (a+b x)^2 (c+d x) \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) b-6 B d^2 n (a+b x)^2 (c+d x) \log \left (\frac {a+b x}{c+d x}\right ) b-2 a^3 B d^3 n\right ) \log ^2\left (\frac {a+b x}{c+d x}\right )+2 B (b c-a d) n \left (4 d^2 \left (A-B n+B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )-B n \log \left (\frac {a+b x}{c+d x}\right )\right ) (a+b x)^2+2 b d (c+d x) \left (4 A+5 B n+4 B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )-4 B n \log \left (\frac {a+b x}{c+d x}\right )\right ) (a+b x)-b (b c-a d) (c+d x) \left (2 A+B n+2 B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )-2 B n \log \left (\frac {a+b x}{c+d x}\right )\right )\right ) \log \left (\frac {a+b x}{c+d x}\right )+2 b d (b c-a d) (a+b x) (c+d x) \left (4 A^2+10 B n A+11 B^2 n^2+4 B^2 \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+4 B^2 n^2 \log ^2\left (\frac {a+b x}{c+d x}\right )-2 B n (4 A+5 B n) \log \left (\frac {a+b x}{c+d x}\right )+2 B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \left (4 A+5 B n-4 B n \log \left (\frac {a+b x}{c+d x}\right )\right )\right )-b (b c-a d)^2 (c+d x) \left (2 A^2+2 B n A+B^2 n^2+2 B^2 \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+2 B^2 n^2 \log ^2\left (\frac {a+b x}{c+d x}\right )-2 B n (2 A+B n) \log \left (\frac {a+b x}{c+d x}\right )+2 B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \left (2 A+B n-2 B n \log \left (\frac {a+b x}{c+d x}\right )\right )\right )+6 b d^2 (a+b x)^2 (c+d x) \log (a+b x) \left (2 A^2+2 B n A+5 B^2 n^2+2 B^2 \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+2 B^2 n^2 \log ^2\left (\frac {a+b x}{c+d x}\right )-2 B n (2 A+B n) \log \left (\frac {a+b x}{c+d x}\right )+2 B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \left (2 A+B n-2 B n \log \left (\frac {a+b x}{c+d x}\right )\right )\right )+4 d^2 (b c-a d) (a+b x)^2 \left (A^2-2 B n A+2 B^2 n^2+B^2 \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+B^2 n^2 \log ^2\left (\frac {a+b x}{c+d x}\right )+2 B n (B n-A) \log \left (\frac {a+b x}{c+d x}\right )-2 B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \left (-A+B n+B n \log \left (\frac {a+b x}{c+d x}\right )\right )\right )-6 b d^2 (a+b x)^2 (c+d x) \left (2 A^2+2 B n A+5 B^2 n^2+2 B^2 \log ^2\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )+2 B^2 n^2 \log ^2\left (\frac {a+b x}{c+d x}\right )-2 B n (2 A+B n) \log \left (\frac {a+b x}{c+d x}\right )+2 B \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right ) \left (2 A+B n-2 B n \log \left (\frac {a+b x}{c+d x}\right )\right )\right ) \log (c+d x)}{4 (b c-a d)^4 g^3 i^2 (a+b x)^2 (c+d x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.07, size = 2052, normalized size = 3.66 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.47, size = 0, normalized size = 0.00 \[ \int \frac {\left (B \ln \left (e \left (\frac {b x +a}{d x +c}\right )^{n}\right )+A \right )^{2}}{\left (b g x +a g \right )^{3} \left (d i x +c i \right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 4.81, size = 4198, normalized size = 7.50 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 10.28, size = 1784, normalized size = 3.19 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________